package com.ruoyi.book.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图书委托用户对象 book_commission_users
 * 
 * @author hd
 * @date 2025-03-31
 */
public class BookCommissionUsers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long userId;

    /** 密码 */
    @Excel(name = "密码")
    private String userPassword;

    /** 账号类型，0，1等 */
    @Excel(name = "账号类型，0，1等")
    private String userType;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 电话 */
    @Excel(name = "电话")
    private String userPhone;

    /** 头像 */
    @Excel(name = "头像")
    private String userAvatarUrl;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 学号 */
    @Excel(name = "学号")
    private String studentId;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wechatId;

    /** 银行类型 */
    @Excel(name = "银行类型")
    private String bankType;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCardNumber;

    /** 机构（学校）ID */
    @Excel(name = "机构", readConverterExp = "学校")
    private Long institutionId;

    /** 图书委托信息 */
    private List<BookCommission> bookCommissionList;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserPassword(String userPassword) 
    {
        this.userPassword = userPassword;
    }

    public String getUserPassword() 
    {
        return userPassword;
    }
    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setUserAvatarUrl(String userAvatarUrl) 
    {
        this.userAvatarUrl = userAvatarUrl;
    }

    public String getUserAvatarUrl() 
    {
        return userAvatarUrl;
    }
    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public String getGender()
    {
        return gender;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setStudentId(String studentId) 
    {
        this.studentId = studentId;
    }

    public String getStudentId() 
    {
        return studentId;
    }
    public void setWechatId(String wechatId) 
    {
        this.wechatId = wechatId;
    }

    public String getWechatId() 
    {
        return wechatId;
    }
    public void setBankType(String bankType) 
    {
        this.bankType = bankType;
    }

    public String getBankType() 
    {
        return bankType;
    }
    public void setBankCardNumber(String bankCardNumber) 
    {
        this.bankCardNumber = bankCardNumber;
    }

    public String getBankCardNumber() 
    {
        return bankCardNumber;
    }
    public void setInstitutionId(Long institutionId) 
    {
        this.institutionId = institutionId;
    }

    public Long getInstitutionId() 
    {
        return institutionId;
    }

    public List<BookCommission> getBookCommissionList()
    {
        return bookCommissionList;
    }

    public void setBookCommissionList(List<BookCommission> bookCommissionList)
    {
        this.bookCommissionList = bookCommissionList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userPassword", getUserPassword())
            .append("userType", getUserType())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("userAvatarUrl", getUserAvatarUrl())
            .append("gender", getGender())
            .append("idCard", getIdCard())
            .append("studentId", getStudentId())
            .append("wechatId", getWechatId())
            .append("bankType", getBankType())
            .append("bankCardNumber", getBankCardNumber())
            .append("institutionId", getInstitutionId())
            .append("bookCommissionList", getBookCommissionList())
            .toString();
    }
}
